package com.molichuxing.services.infrastructure.service;

import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.infrastructure.dto.request.create.RecycleCarsCreateDto;
import com.molichuxing.services.infrastructure.dto.response.RecycleCarsDto;
import com.molichuxing.services.property.RecycleStateEnum;

import java.util.List;

/**
 * 订单收车记录service
 *
 * @Author zoumingyu
 * @Date 2020年07月28日
 */
public interface RecycleCarsService extends RootService {

    boolean create(RecycleCarsCreateDto createDto);

    List<RecycleCarsDto> getRecycleCars(Long orderCode);

    RecycleCarsDto getRecycleCars(Long orderCode, RecycleStateEnum recycleState);

    int getRecycleCarsTotal();
}
